//
//  RDSettingViewController.m
//  ReverseDiabetes
//
//  Created by 王佩璇 on 2024/9/2.
//

#import "RDSettingViewController.h"
#import "RDUserAgreementViewController.h"
#import "RDPrivacyAgreementViewController.h"
@interface RDSettingViewController ()

@end

@implementation RDSettingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title = @"设置";
}
- (IBAction)userClick:(id)sender {
    RDUserAgreementViewController *vc = [[RDUserAgreementViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}
- (IBAction)privacyClick:(id)sender {
    RDPrivacyAgreementViewController *vc = [[RDPrivacyAgreementViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
